Modules functions

by: Machinor, 9 years ago


I can get a list of functions available for a module  by doing
 dir(function)

Can anyone describe in a general way the brake-down of these functions and how they are organized? I see some capitalized, some lowercase and some of the __a-z__  type.  At this point I assume one way is to look up their usage on the python doc online.

TIA



You must be logged in to post. Please login or register an account.



You can look them up online, but the more interesting choice is usually to just do help() rather than dir.

For example:
import time
print(help(time))


-Harrison 9 years ago

You must be logged in to post. Please login or register an account.